package com.mhc.suzuki.dal.query;


import com.subaru.common.query.BaseCriteria;
import com.subaru.common.query.BaseQuery;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

public class TowingHisQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 1L;

    public TowingHisQuery() {
        super();
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        super.oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This class corresponds to the database table pcl_towing_his
     */
         protected abstract static class GeneratedCriteria extends BaseCriteria {

        protected GeneratedCriteria() {
            super();
        }

        public Criteria andTowingIdIsNull() {
            addCriterion("towing_id is null");
            return (Criteria) this;
        }

        public Criteria andTowingIdIsNotNull() {
            addCriterion("towing_id is not null");
            return (Criteria) this;
        }

        public Criteria andTowingIdEqualTo(Long value) {
            addCriterion("towing_id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andTowingIdNotEqualTo(Long value) {
            addCriterion("towing_id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria anTowingIdGreaterThan(Long value) {
            addCriterion("towing_id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andTowingIdGreaterThanOrEqualTo(Long value) {
            addCriterion("towing_id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andTowingIdLessThan(Long value) {
            addCriterion("towing_id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andTowingIdLessThanOrEqualTo(Long value) {
            addCriterion("towing_id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andTowingIdIn(List<Long> values) {
            addCriterion("towing_id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andTowingIdNotIn(List<Long> values) {
            addCriterion("towing_id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andTowingIdBetween(Long value1, Long value2) {
            addCriterion("towing_id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTowingIdNotBetween(Long value1, Long value2) {
            addCriterion("towing_id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(LocalDate value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(LocalDate value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(LocalDate value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(LocalDate value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(LocalDate value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(LocalDate value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<LocalDate> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<LocalDate> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(LocalDate value1, LocalDate value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(LocalDate value1, LocalDate value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNull() {
            addCriterion("gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNotNull() {
            addCriterion("gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedEqualTo(LocalDate value) {
            addCriterion("gmt_modified =", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotEqualTo(LocalDate value) {
            addCriterion("gmt_modified <>", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThan(LocalDate value) {
            addCriterion("gmt_modified >", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThanOrEqualTo(LocalDate value) {
            addCriterion("gmt_modified >=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThan(LocalDate value) {
            addCriterion("gmt_modified <", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThanOrEqualTo(LocalDate value) {
            addCriterion("gmt_modified <=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIn(List<LocalDate> values) {
            addCriterion("gmt_modified in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotIn(List<LocalDate> values) {
            addCriterion("gmt_modified not in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedBetween(LocalDate value1, LocalDate value2) {
            addCriterion("gmt_modified between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotBetween(LocalDate value1, LocalDate value2) {
            addCriterion("gmt_modified not between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("order_no is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("order_no is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("order_no =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("order_no <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("order_no >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("order_no >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("order_no <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("order_no <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("order_no like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("order_no not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("order_no in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("order_no not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("order_no between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("order_no not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andCustomerIdCardIsNull() {
            addCriterion("customer_id_card is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdCardIsNotNull() {
            addCriterion("customer_id_card is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdCardEqualTo(String value) {
            addCriterion("customer_id_card =", value, "customerIdCard");
            return (Criteria) this;
        }

        public Criteria andCustomerIdCardNotEqualTo(String value) {
            addCriterion("customer_id_card <>", value, "customerIdCard");
            return (Criteria) this;
        }

        public Criteria andCustomerIdCardGreaterThan(String value) {
            addCriterion("customer_id_card >", value, "customerIdCard");
            return (Criteria) this;
        }

        public Criteria andCustomerIdCardGreaterThanOrEqualTo(String value) {
            addCriterion("customer_id_card >=", value, "customerIdCard");
            return (Criteria) this;
        }

        public Criteria andCustomerIdCardLessThan(String value) {
            addCriterion("customer_id_card <", value, "customerIdCard");
            return (Criteria) this;
        }

        public Criteria andCustomerIdCardLessThanOrEqualTo(String value) {
            addCriterion("customer_id_card <=", value, "customerIdCard");
            return (Criteria) this;
        }

        public Criteria andCustomerIdCardLike(String value) {
            addCriterion("customer_id_card like", value, "customerIdCard");
            return (Criteria) this;
        }

        public Criteria andCustomerIdCardNotLike(String value) {
            addCriterion("customer_id_card not like", value, "customerIdCard");
            return (Criteria) this;
        }

        public Criteria andCustomerIdCardIn(List<String> values) {
            addCriterion("customer_id_card in", values, "customerIdCard");
            return (Criteria) this;
        }

        public Criteria andCustomerIdCardNotIn(List<String> values) {
            addCriterion("customer_id_card not in", values, "customerIdCard");
            return (Criteria) this;
        }

        public Criteria andCustomerIdCardBetween(String value1, String value2) {
            addCriterion("customer_id_card between", value1, value2, "customerIdCard");
            return (Criteria) this;
        }

        public Criteria andCustomerIdCardNotBetween(String value1, String value2) {
            addCriterion("customer_id_card not between", value1, value2, "customerIdCard");
            return (Criteria) this;
        }

        public Criteria andTowingDateIsNull() {
            addCriterion("towing_date is null");
            return (Criteria) this;
        }

        public Criteria andTowingDateIsNotNull() {
            addCriterion("towing_date is not null");
            return (Criteria) this;
        }

        public Criteria andTowingDateEqualTo(LocalDateTime value) {
            addCriterion("towing_date =", value, "towingDate");
            return (Criteria) this;
        }

        public Criteria andTowingDateNotEqualTo(LocalDateTime value) {
            addCriterion("towing_date <>", value, "towingDate");
            return (Criteria) this;
        }

        public Criteria andTowingDateGreaterThan(LocalDateTime value) {
            addCriterion("towing_date >", value, "towingDate");
            return (Criteria) this;
        }

        public Criteria andTowingDateGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("towing_date >=", value, "towingDate");
            return (Criteria) this;
        }

        public Criteria andTowingDateLessThan(LocalDateTime value) {
            addCriterion("towing_date <", value, "towingDate");
            return (Criteria) this;
        }

        public Criteria andTowingDateLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("towing_date <=", value, "towingDate");
            return (Criteria) this;
        }

        public Criteria andTowingDateLike(LocalDateTime value) {
            addCriterion("towing_date like", value, "towingDate");
            return (Criteria) this;
        }

        public Criteria andTowingDateNotLike(LocalDateTime value) {
            addCriterion("towing_date not like", value, "towingDate");
            return (Criteria) this;
        }

        public Criteria andTowingDateIn(List<LocalDateTime> values) {
            addCriterion("towing_date in", values, "towingDate");
            return (Criteria) this;
        }

        public Criteria andTowingDateNotIn(List<LocalDateTime> values) {
            addCriterion("towing_date not in", values, "towingDate");
            return (Criteria) this;
        }

        public Criteria andTowingDateBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("towing_date between", value1, value2, "towingDate");
            return (Criteria) this;
        }

        public Criteria andTowingDateNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("towing_date not between", value1, value2, "towingDate");
            return (Criteria) this;
        }

        public Criteria andExecStaffIdIsNull() {
            addCriterion("exec_staff_id is null");
            return (Criteria) this;
        }

        public Criteria andExecStaffIdIsNotNull() {
            addCriterion("exec_staff_id is not null");
            return (Criteria) this;
        }

        public Criteria andExecStaffIdEqualTo(Long value) {
            addCriterion("exec_staff_id =", value, "execStaffId");
            return (Criteria) this;
        }

        public Criteria andExecStaffIdNotEqualTo(Long value) {
            addCriterion("exec_staff_id <>", value, "execStaffId");
            return (Criteria) this;
        }

        public Criteria andExecStaffIdGreaterThan(Long value) {
            addCriterion("exec_staff_id >", value, "execStaffId");
            return (Criteria) this;
        }

        public Criteria andExecStaffIdGreaterThanOrEqualTo(Long value) {
            addCriterion("exec_staff_id >=", value, "execStaffId");
            return (Criteria) this;
        }

        public Criteria andExecStaffIdLessThan(Long value) {
            addCriterion("exec_staff_id <", value, "execStaffId");
            return (Criteria) this;
        }

        public Criteria andExecStaffIdLessThanOrEqualTo(Long value) {
            addCriterion("exec_staff_id <=", value, "execStaffId");
            return (Criteria) this;
        }

        public Criteria andExecStaffIdLike(Long value) {
            addCriterion("exec_staff_id like", value, "execStaffId");
            return (Criteria) this;
        }

        public Criteria andExecStaffIdNotLike(Long value) {
            addCriterion("exec_staff_id not like", value, "execStaffId");
            return (Criteria) this;
        }

        public Criteria andExecStaffIdIn(List<Long> values) {
            addCriterion("exec_staff_id in", values, "execStaffId");
            return (Criteria) this;
        }

        public Criteria andExecStaffIdNotIn(List<Long> values) {
            addCriterion("exec_staff_id not in", values, "execStaffId");
            return (Criteria) this;
        }

        public Criteria andExecStaffIdBetween(Long value1, Long value2) {
            addCriterion("exec_staff_id between", value1, value2, "execStaffId");
            return (Criteria) this;
        }

        public Criteria andExecStaffIdNotBetween(Long value1, Long value2) {
            addCriterion("exec_staff_id not between", value1, value2, "execStaffId");
            return (Criteria) this;
        }

        public Criteria andLocationIsNull() {
            addCriterion("location is null");
            return (Criteria) this;
        }

        public Criteria andLocationIsNotNull() {
            addCriterion("location is not null");
            return (Criteria) this;
        }

        public Criteria andLocationEqualTo(String value) {
            addCriterion("location =", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotEqualTo(String value) {
            addCriterion("location <>", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThan(String value) {
            addCriterion("location >", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThanOrEqualTo(String value) {
            addCriterion("location >=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThan(String value) {
            addCriterion("location <", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThanOrEqualTo(String value) {
            addCriterion("location <=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLike(String value) {
            addCriterion("location like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotLike(String value) {
            addCriterion("location not like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationIn(List<String> values) {
            addCriterion("location in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotIn(List<String> values) {
            addCriterion("location not in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationBetween(String value1, String value2) {
            addCriterion("location between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotBetween(String value1, String value2) {
            addCriterion("location not between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andTowingCostIsNull() {
            addCriterion("towing_cost is null");
            return (Criteria) this;
        }

        public Criteria andTowingCostIsNotNull() {
            addCriterion("towing_cost is not null");
            return (Criteria) this;
        }

        public Criteria andTowingCostEqualTo(java.math.BigDecimal value) {
            addCriterion("towing_cost =", value, "towingCost");
            return (Criteria) this;
        }

        public Criteria andTowingCostNotEqualTo(java.math.BigDecimal value) {
            addCriterion("towing_cost <>", value, "towingCost");
            return (Criteria) this;
        }

        public Criteria andTowingCostGreaterThan(java.math.BigDecimal value) {
            addCriterion("towing_cost >", value, "towingCost");
            return (Criteria) this;
        }

        public Criteria andTowingCostGreaterThanOrEqualTo(java.math.BigDecimal value) {
            addCriterion("towing_cost >=", value, "towingCost");
            return (Criteria) this;
        }

        public Criteria andTowingCostLessThan(java.math.BigDecimal value) {
            addCriterion("towing_cost <", value, "towingCost");
            return (Criteria) this;
        }

        public Criteria andTowingCostLessThanOrEqualTo(java.math.BigDecimal value) {
            addCriterion("towing_cost <=", value, "towingCost");
            return (Criteria) this;
        }

        public Criteria andTowingCostLike(java.math.BigDecimal value) {
            addCriterion("towing_cost like", value, "towingCost");
            return (Criteria) this;
        }

        public Criteria andTowingCostNotLike(java.math.BigDecimal value) {
            addCriterion("towing_cost not like", value, "towingCost");
            return (Criteria) this;
        }

        public Criteria andTowingCostIn(List<java.math.BigDecimal> values) {
            addCriterion("towing_cost in", values, "towingCost");
            return (Criteria) this;
        }

        public Criteria andTowingCostNotIn(List<java.math.BigDecimal> values) {
            addCriterion("towing_cost not in", values, "towingCost");
            return (Criteria) this;
        }

        public Criteria andTowingCostBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
            addCriterion("towing_cost between", value1, value2, "towingCost");
            return (Criteria) this;
        }

        public Criteria andTowingCostNotBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
            addCriterion("towing_cost not between", value1, value2, "towingCost");
            return (Criteria) this;
        }

        public Criteria andParkingCostIsNull() {
            addCriterion("parking_cost is null");
            return (Criteria) this;
        }

        public Criteria andParkingCostIsNotNull() {
            addCriterion("parking_cost is not null");
            return (Criteria) this;
        }

        public Criteria andParkingCostEqualTo(java.math.BigDecimal value) {
            addCriterion("parking_cost =", value, "parkingCost");
            return (Criteria) this;
        }

        public Criteria andParkingCostNotEqualTo(java.math.BigDecimal value) {
            addCriterion("parking_cost <>", value, "parkingCost");
            return (Criteria) this;
        }

        public Criteria andParkingCostGreaterThan(java.math.BigDecimal value) {
            addCriterion("parking_cost >", value, "parkingCost");
            return (Criteria) this;
        }

        public Criteria andParkingCostGreaterThanOrEqualTo(java.math.BigDecimal value) {
            addCriterion("parking_cost >=", value, "parkingCost");
            return (Criteria) this;
        }

        public Criteria andParkingCostLessThan(java.math.BigDecimal value) {
            addCriterion("parking_cost <", value, "parkingCost");
            return (Criteria) this;
        }

        public Criteria andParkingCostLessThanOrEqualTo(java.math.BigDecimal value) {
            addCriterion("parking_cost <=", value, "parkingCost");
            return (Criteria) this;
        }

        public Criteria andParkingCostLike(java.math.BigDecimal value) {
            addCriterion("parking_cost like", value, "parkingCost");
            return (Criteria) this;
        }

        public Criteria andParkingCostNotLike(java.math.BigDecimal value) {
            addCriterion("parking_cost not like", value, "parkingCost");
            return (Criteria) this;
        }

        public Criteria andParkingCostIn(List<java.math.BigDecimal> values) {
            addCriterion("parking_cost in", values, "parkingCost");
            return (Criteria) this;
        }

        public Criteria andParkingCostNotIn(List<java.math.BigDecimal> values) {
            addCriterion("parking_cost not in", values, "parkingCost");
            return (Criteria) this;
        }

        public Criteria andParkingCostBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
            addCriterion("parking_cost between", value1, value2, "parkingCost");
            return (Criteria) this;
        }

        public Criteria andParkingCostNotBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
            addCriterion("parking_cost not between", value1, value2, "parkingCost");
            return (Criteria) this;
        }

        public Criteria andVinIsNull() {
            addCriterion("vin is null");
            return (Criteria) this;
        }

        public Criteria andVinIsNotNull() {
            addCriterion("vin is not null");
            return (Criteria) this;
        }

        public Criteria andVinEqualTo(String value) {
            addCriterion("vin =", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinNotEqualTo(String value) {
            addCriterion("vin <>", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinGreaterThan(String value) {
            addCriterion("vin >", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinGreaterThanOrEqualTo(String value) {
            addCriterion("vin >=", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinLessThan(String value) {
            addCriterion("vin <", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinLessThanOrEqualTo(String value) {
            addCriterion("vin <=", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinLike(String value) {
            addCriterion("vin like", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinNotLike(String value) {
            addCriterion("vin not like", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinIn(List<String> values) {
            addCriterion("vin in", values, "vin");
            return (Criteria) this;
        }

        public Criteria andVinNotIn(List<String> values) {
            addCriterion("vin not in", values, "vin");
            return (Criteria) this;
        }

        public Criteria andVinBetween(String value1, String value2) {
            addCriterion("vin between", value1, value2, "vin");
            return (Criteria) this;
        }

        public Criteria andVinNotBetween(String value1, String value2) {
            addCriterion("vin not between", value1, value2, "vin");
            return (Criteria) this;
        }

        public Criteria andEngineNoIsNull() {
            addCriterion("engine_no is null");
            return (Criteria) this;
        }

        public Criteria andEngineNoIsNotNull() {
            addCriterion("engine_no is not null");
            return (Criteria) this;
        }

        public Criteria andEngineNoEqualTo(String value) {
            addCriterion("engine_no =", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoNotEqualTo(String value) {
            addCriterion("engine_no <>", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoGreaterThan(String value) {
            addCriterion("engine_no >", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoGreaterThanOrEqualTo(String value) {
            addCriterion("engine_no >=", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoLessThan(String value) {
            addCriterion("engine_no <", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoLessThanOrEqualTo(String value) {
            addCriterion("engine_no <=", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoLike(String value) {
            addCriterion("engine_no like", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoNotLike(String value) {
            addCriterion("engine_no not like", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoIn(List<String> values) {
            addCriterion("engine_no in", values, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoNotIn(List<String> values) {
            addCriterion("engine_no not in", values, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoBetween(String value1, String value2) {
            addCriterion("engine_no between", value1, value2, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoNotBetween(String value1, String value2) {
            addCriterion("engine_no not between", value1, value2, "engineNo");
            return (Criteria) this;
        }

        public Criteria andPickupDateIsNull() {
            addCriterion("pickup_date is null");
            return (Criteria) this;
        }

        public Criteria andPickupDateIsNotNull() {
            addCriterion("pickup_date is not null");
            return (Criteria) this;
        }

        public Criteria andPickupDateEqualTo(LocalDateTime value) {
            addCriterion("pickup_date =", value, "pickupDate");
            return (Criteria) this;
        }

        public Criteria andPickupDateNotEqualTo(LocalDateTime value) {
            addCriterion("pickup_date <>", value, "pickupDate");
            return (Criteria) this;
        }

        public Criteria andPickupDateGreaterThan(LocalDateTime value) {
            addCriterion("pickup_date >", value, "pickupDate");
            return (Criteria) this;
        }

        public Criteria andPickupDateGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("pickup_date >=", value, "pickupDate");
            return (Criteria) this;
        }

        public Criteria andPickupDateLessThan(LocalDateTime value) {
            addCriterion("pickup_date <", value, "pickupDate");
            return (Criteria) this;
        }

        public Criteria andPickupDateLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("pickup_date <=", value, "pickupDate");
            return (Criteria) this;
        }

        public Criteria andPickupDateLike(LocalDateTime value) {
            addCriterion("pickup_date like", value, "pickupDate");
            return (Criteria) this;
        }

        public Criteria andPickupDateNotLike(LocalDateTime value) {
            addCriterion("pickup_date not like", value, "pickupDate");
            return (Criteria) this;
        }

        public Criteria andPickupDateIn(List<LocalDateTime> values) {
            addCriterion("pickup_date in", values, "pickupDate");
            return (Criteria) this;
        }

        public Criteria andPickupDateNotIn(List<LocalDateTime> values) {
            addCriterion("pickup_date not in", values, "pickupDate");
            return (Criteria) this;
        }

        public Criteria andPickupDateBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("pickup_date between", value1, value2, "pickupDate");
            return (Criteria) this;
        }

        public Criteria andPickupDateNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("pickup_date not between", value1, value2, "pickupDate");
            return (Criteria) this;
        }

        public Criteria andTowingRemarkIsNull() {
            addCriterion("towing_remark is null");
            return (Criteria) this;
        }

        public Criteria andTowingRemarkIsNotNull() {
            addCriterion("towing_remark is not null");
            return (Criteria) this;
        }

        public Criteria andTowingRemarkEqualTo(String value) {
            addCriterion("towing_remark =", value, "towingRemark");
            return (Criteria) this;
        }

        public Criteria andTowingRemarkNotEqualTo(String value) {
            addCriterion("towing_remark <>", value, "towingRemark");
            return (Criteria) this;
        }

        public Criteria andTowingRemarkGreaterThan(String value) {
            addCriterion("towing_remark >", value, "towingRemark");
            return (Criteria) this;
        }

        public Criteria andTowingRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("towing_remark >=", value, "towingRemark");
            return (Criteria) this;
        }

        public Criteria andTowingRemarkLessThan(String value) {
            addCriterion("towing_remark <", value, "towingRemark");
            return (Criteria) this;
        }

        public Criteria andTowingRemarkLessThanOrEqualTo(String value) {
            addCriterion("towing_remark <=", value, "towingRemark");
            return (Criteria) this;
        }

        public Criteria andTowingRemarkLike(String value) {
            addCriterion("towing_remark like", value, "towingRemark");
            return (Criteria) this;
        }

        public Criteria andTowingRemarkNotLike(String value) {
            addCriterion("towing_remark not like", value, "towingRemark");
            return (Criteria) this;
        }

        public Criteria andTowingRemarkIn(List<String> values) {
            addCriterion("towing_remark in", values, "towingRemark");
            return (Criteria) this;
        }

        public Criteria andTowingRemarkNotIn(List<String> values) {
            addCriterion("towing_remark not in", values, "towingRemark");
            return (Criteria) this;
        }

        public Criteria andTowingRemarkBetween(String value1, String value2) {
            addCriterion("towing_remark between", value1, value2, "towingRemark");
            return (Criteria) this;
        }

        public Criteria andTowingRemarkNotBetween(String value1, String value2) {
            addCriterion("towing_remark not between", value1, value2, "towingRemark");
            return (Criteria) this;
        }

        public Criteria andStaffIdIsNull() {
            addCriterion("staff_id is null");
            return (Criteria) this;
        }

        public Criteria andStaffIdIsNotNull() {
            addCriterion("staff_id is not null");
            return (Criteria) this;
        }

        public Criteria andStaffIdEqualTo(Long value) {
            addCriterion("staff_id =", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdNotEqualTo(Long value) {
            addCriterion("staff_id <>", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdGreaterThan(Long value) {
            addCriterion("staff_id >", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdGreaterThanOrEqualTo(Long value) {
            addCriterion("staff_id >=", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdLessThan(Long value) {
            addCriterion("staff_id <", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdLessThanOrEqualTo(Long value) {
            addCriterion("staff_id <=", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdLike(Long value) {
            addCriterion("staff_id like", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdNotLike(Long value) {
            addCriterion("staff_id not like", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdIn(List<Long> values) {
            addCriterion("staff_id in", values, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdNotIn(List<Long> values) {
            addCriterion("staff_id not in", values, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdBetween(Long value1, Long value2) {
            addCriterion("staff_id between", value1, value2, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdNotBetween(Long value1, Long value2) {
            addCriterion("staff_id not between", value1, value2, "staffId");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNull() {
            addCriterion("is_deleted is null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNotNull() {
            addCriterion("is_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedEqualTo(Integer value) {
            addCriterion("is_deleted =", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotEqualTo(Integer value) {
            addCriterion("is_deleted <>", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThan(Integer value) {
            addCriterion("is_deleted >", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_deleted >=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThan(Integer value) {
            addCriterion("is_deleted <", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThanOrEqualTo(Integer value) {
            addCriterion("is_deleted <=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLike(Integer value) {
            addCriterion("is_deleted like", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotLike(Integer value) {
            addCriterion("is_deleted not like", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIn(List<Integer> values) {
            addCriterion("is_deleted in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotIn(List<Integer> values) {
            addCriterion("is_deleted not in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedBetween(Integer value1, Integer value2) {
            addCriterion("is_deleted between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotBetween(Integer value1, Integer value2) {
            addCriterion("is_deleted not between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

    }

    /**
     * This class corresponds to the database table pcl_towing_his
    */
    public  static class Criteria extends GeneratedCriteria{
        protected Criteria() {
            super();
        }
    }



    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}